package cn.supermarket.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StockUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id")
    private Long productId;

    /**
     * 数量
     */
    @ApiModelProperty(value = "数量",example = "5")
    private BigDecimal counts;

    /**
     * 最后修改日期
     */
    private LocalDateTime lastUpdateTime;



}
